package com.dick.base.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * <pre>
 * "ID" BIGINT NOT NULL,
 * "OPERATE" VARCHAR(64) NOT NULL,
 * "USER_ID" CHAR(16) NOT NULL,
 * "USER_NAME" CHAR(16) NOT NULL,
 * "OPERATE_DETAIL" VARCHAR(1024) NOT NULL,
 * "CREATE_TIME" DATETIME(6),
 * </pre>
 */
@TableName("BASE_OPERATE_LOG")
@Data
public class BaseOperateLog {

    @TableId(type = IdType.INPUT)
    private Long id;

    private String operate;

    private String userId;

    private String userName;

    private String operateDetail;

    private LocalDateTime createTime;
}
